<template>
  <div class="skin-top">
    <div class="skin-wu"></div>

    <!-- 肤质测试 -->
    <div class="header">
      <div class="header-font">肤质测试</div>
      <!-- @click="callBack" -->
      <img @click="callBack" src="../inchildren/image/jifen_icon_fanhui.png" alt="" />
    </div>
    <!-- 测肤提醒 -->
    <div class="skin-middle">
      <div class="skin-pic">
        <img src="../inchildren/image/gerenzhuye_icon_touxiang.png" alt="" />
      </div>
      <div class="skin-middl">
        <span>Hna</span>
        <p>肤质类型：{{$route.query.title}}</p>
      </div>
      <button @click="nextSkin">开启测肤提醒</button>
    </div>

    <!-- 相关说明 -->
    <div class="skin-illustrate">
      <div class="skin-ill">
        <img src="../inchildren/image/warn_icon.png" alt="" />
        <p>
          相关说明，引自莱斯利·褒曼医生的《专属你的解决方案：完美皮肤保
          养指南（The Skin Type Solution）》。
        </p>
      </div>
    </div>

    <!-- 容易出现的问题 -->
    <div class="skin-request">
      <h3>容易出现的问题:</h3>
      <img src="../inchildren/image/skin-pic.png" alt="" />
    </div>
    <!-- 最后文字部分 -->
    <div class="skin-main">
      <h3>您的肌肤护理需要注意以下几点：</h3>
      <p>
        ·清洁：选择温和的洁面产品，不要去角质，重点清洁丁区 面膜：一周2-3次补水
        保湿面膜，每次敷15-20分钟即可。
        精华：千皮衰老易长皱纹，精华要趁早用。22岁以下年轻肌
        注重基础保湿，23岁＋要侧重紧致淡纹。眼霜：千皮眼周极
        易长干纹细纹，保湿抗老眼霜要趁早用乳/霜：千皮要选用滋
        润度较高的乳/霜，锁住水分＋营养成分不流失。
      </p>
      <p>
        ·如果你是后天护肤不当导致的屏障受损，建议选择具有修护
        效果的护肤品，补水03+修护西，强韧皮肤屏障，皮肤健康了，
        才能锁水保湿，汲取更多营养成分，越来越水润明亮，具有光 泽感。
      </p>
    </div>
  </div>
</template>

<script>
export default {
  created() {
    console.log(this.$route.query.title)
  },
  methods: {
    nextSkin() {
      console.log(111);
      this.$router.push({ name: "skin" });
    },
    callBack() {
      this.$router.go(-1);
    },
  },
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}

.skin-wu {
  width: 750px;
  height: 88px;
  border-radius: 0px 0px 0px 0px;
  opacity: 1;
}
.header {
  width: 750px;
  height: 88px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.header img {
  width: 15px;
  height: 27px;
  margin-left: 48px;
  position: absolute;
  top: 35px;
}
.header-font {
  width: 550px;
  height: 88px;
  font-size: 34px;
  display: block;
  font-family: PingFangSC-Medium-, PingFangSC-Medium;
  font-weight: 800;
  color: #2f2f2f;
  line-height: 88px;
  text-align: center;
  margin: 0 auto;
  -webkit-background-clip: text;
}

/* 头像部分 */
.skin-middle {
  width: 750px;
  height: 128px;
  padding: 0 55px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.skin-pic img {
  width: 126px;
  height: 126px;
}
.skin-middl {
  width: 300px;
  margin-right: 70px;
  /* background-color: red; */
}
.skin-middl span {
  font-size: 28px;
  font-family: PingFang SC-Semibold, PingFang SC;
  font-weight: 600;
  color: #333333;
}
.skin-middl p {
  font-size: 28px;
  width: 300px;
  font-family: PingFang SC-Semibold, PingFang SC;
  font-weight: 300;
  color: #333333;
}
.skin-middle button {
  width: 140px;
  height: 46px;
  background: #87a3f7;
  border-radius: 22px 22px 22px 22px;
  opacity: 1;
  font-size: 20px;
  font-family: PingFang SC-Light, PingFang SC;
  font-weight: 300;
  color: #ffffff;
  outline: none;
  border: 0;
}
/* 相关说明 */
.skin-illustrate {
  width: 750px;
  height: 110px;
  padding: 20px 50px;
}
.skin-ill {
  display: flex;
  width: 650px;
  height: 110px;
  border-top: 1px solid #707070;
}
.skin-ill p {
  margin-top: 15px;
  font-size: 20px;
  font-family: PingFang SC-Light, PingFang SC;
  font-weight: 300;
  color: #999999;
  margin-left: 6px;
}

.skin-ill img {
  margin-top: 20px;
  /* margin-top: 4px; */
  width: 23px;
  height: 23px;
}

/* 出现的问题 */
.skin-request {
  width: 750px;
  padding: 0px 50px;

}
.skin-request h3 {
  width: 650px;
  height: 42px;
  font-size: 30px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #333333;
}

.skin-request img {
  margin-top: 25px;
  width: 558px;
  height: 450px;
  margin-left: 45px;
  /* margin: 0 auto */
}

/* 最后内容 */
.skin-main {
  width: 750px;
  padding: 0px 50px;
}
.skin-main h3 {
  margin-top: 30px;
  padding-top: 30px;
  width: 650px;
  height: 42px;
  font-size: 30px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #333333;
  border-top: 1px solid #707070;
  margin-bottom: 50px;
}
.skin-main p {
  width: 636px;
  height: 230px;
  font-size: 24px;
  font-family: PingFang SC-Light, PingFang SC;
  font-weight: 300;
  color: #333333;
}
</style>
